//
// Created by richa on 2019/11/16.
//

#ifdef __cplusplus
extern "C" {
#endif

#ifndef GREENHOUSEMA_SIMPLC_C_H
#define GREENHOUSEMA_SIMPLC_C_H

#if defined(_WIN32)
#define THREAD_LOCAL __declspec(thread)
#else
#define THREAD_LOCAL __thread
#endif

//extern _Thread_local unsigned char M[5100];
//extern _Thread_local unsigned char Y[22];
//extern _Thread_local unsigned char X[20];
//extern _Thread_local unsigned short D[6000];

//extern _Thread_local unsigned char * M;
//extern _Thread_local unsigned char * Y;
//extern _Thread_local unsigned char * X;
//extern _Thread_local unsigned short * D;

//extern thread_local unsigned char * M;
//extern thread_local unsigned char * Y;
//extern thread_local unsigned char * X;
//extern thread_local unsigned short * D;

//extern unsigned char * M;
//extern unsigned char * Y;
//extern unsigned char * X;
//extern unsigned short * D;

void function1();

#endif //GREENHOUSEMA_SIMPLC_C_H

#ifdef __cplusplus
}
#endif